package Eyjafjalla.action;

import Eyjafjalla.relic.ShallowSong;
import com.megacrit.cardcrawl.actions.AbstractGameAction;
import com.megacrit.cardcrawl.dungeons.AbstractDungeon;

public class ShallowSongAction extends AbstractGameAction {
    public ShallowSongAction(ShallowSong song){
        this.song = song;
    }

    @Override
    public void update() {
        if(song==null){
            this.isDone = true;
            return;
        }
        song.setCounter(song.counter+1);
        addToTop(new MelodyAction(song.getSingle()));
        this.isDone = true;
    }

    ShallowSong song;
}
